package com.xlh.support.training.dao.ext;

import com.xlh.support.training.domain.TrainingAttr;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TrainingMapperExt {

    List<TrainingAttr> listPublishedTrainings();

    List<TrainingAttr> listTrainingsByUserId(Long userId);
}